Add new style sheets for swedish Kartex format.
authoroliskoli <oliskoli@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Tue, 25 Apr 2006 23:50:27 +0000 (23:50 +0000)
committeroliskoli <oliskoli@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Tue, 25 Apr 2006 23:50:27 +0000 (23:50 +0000)
gpsbabel/style/ktf2.style [new file with mode: 0644]
gpsbabel/style/kwf2.style [new file with mode: 0644]

diff --git a/gpsbabel/style/ktf2.style b/gpsbabel/style/ktf2.style
new file mode 100644 (file)
index 0000000..f0627eb
--- /dev/null
@@ -0,0 +1,36 @@
+# gpsbabel XCSV style file
+#
+# Format: Kartex KTF 2.0 Degrees plus Minutes with decimals
+# Author: Harald Nordius
+#   Date: 4/13 2006
+#
+# 
+DESCRIPTION    Kartex 5 Track File
+EXTENSION      ktf
+SHORTLEN       10
+SHORTWHITE     1
+ENCODING       CP1252
+#
+#
+# FILE LAYOUT DEFINITIIONS:
+#
+FIELD_DELIMITER        COMMA
+RECORD_DELIMITER       NEWLINE
+#
+#
+# FILE HEADER
+#
+PROLOGUE //Kartex Track File created by GPSBabel
+PROLOGUE &KWF 2.0,sweref 99 lat long,1
+#
+#
+# INDIVIDUAL DATA FIELDS, IN ORDER OF APPEARANCE:
+#
+IFIELD CONSTANT, %, "%s"
+IFIELD INDEX, "", "%d"
+IFIELD LATLON_HUMAN_READABLE,"","%c%d°%f'"
+IFIELD ALT_METERS,"0.00","%.2f"
+IFIELD GMT_TIME, "", "%Y-%m-%d %H:%M:%S"
+IFIELD IGNORE, "", "%s" #Empty field
+IFIELD IGNORE, "", "%s" #Empty field
+IFIELD CONSTANT, "$", "%s"
\ No newline at end of file
diff --git a/gpsbabel/style/kwf2.style b/gpsbabel/style/kwf2.style
new file mode 100644 (file)
index 0000000..7b6a2d8
--- /dev/null
@@ -0,0 +1,38 @@
+# gpsbabel XCSV style file
+#
+# Format: Kartex KWF 2.0 Degrees plus Minutes with decimals
+# Author: Harald Nordius
+#   Date: 12/08 2004
+#
+# 
+DESCRIPTION    Kartex 5 Waypoint File
+EXTENSION      kwf
+SHORTLEN       10
+SHORTWHITE     1
+ENCODING       CP1252
+#
+#
+# FILE LAYOUT DEFINITIIONS:
+#
+FIELD_DELIMITER        COMMA
+RECORD_DELIMITER       NEWLINE
+#
+#
+# FILE HEADER
+#
+PROLOGUE //Kartex Waypoint File created by GPSBabel
+PROLOGUE &KWF 2.0,sweref 99 lat long,1
+#
+#
+# INDIVIDUAL DATA FIELDS, IN ORDER OF APPEARANCE:
+#
+IFIELD CONSTANT, \#, "%s"
+IFIELD INDEX,"","%d"
+IFIELD SHORTNAME,"","%s"
+IFIELD LATLON_HUMAN_READABLE,"","%c%d°%f'"
+IFIELD ALT_METERS,"0.00","%.2f"
+IFIELD IGNORE, "","%s" #Empty field
+IFIELD IGNORE, "","%s" #Empty field
+IFIELD CONSTANT, "0","%s" #Waypoint symbol code
+IFIELD DESCRIPTION, "", "%s"
+IFIELD CONSTANT, "$", "%s"
\ No newline at end of file